Finished part3 assignment