working on 3rd assignment: working on part 2