added scaffolding for purchases