attraction and repulsion of charges