For practicing Assignment 2