changed some of the purchase hash structure