completed problem7