solution for project assigment 2