Doing ex1 by Calvin.