updated answers to 6 and 7