ex4 finished; passed all 3 tests