finished first half of ex6