implemented overlap and kinetic
boys function implemented