changes done in progassignment2