start of shared file for question 3