checkout added functionality