renamed kph and added some commets to source file