working purchas price sum method