assignment 4 minor changes to examples