added code to create essays and scores