Checkout functions added