adding ex_5_1 and ex_5_2