Question 2 of Course Project