working model 3rd assignment 1st part