some more work on ex3