Assignment_3 cont_