add and finish the ex3