Added checkout-functionality