updates...

added statements to #1 and unit test to ex2.