Completed problems 7-8