adding initial checkout functionality