Emily's code that Jay typed out