initial code for project 6