second implementation of project 2
starting project 4