test code for project 1