coding for project 3