working on submitting purchases