commiting code to checkout functionality on Medium