for initialization of the assignment2