PRT520-assignment2