Charge distribution and electric fields