complete 3rd assignment