minor changes to ex2