fixed up the code snippet on the home page