Added sample code to home page