starting problem 3
working on problem 3