finished submission 1, 2 in ex4