Added ex2, 3, 4.