to ensure safe elections