Completed the assingment