2nd and 3rd assignment