finished through #3 in function projects 2