Done half of the Assignment 5