working on create method for purchases
fixed conflicts