AC32006 assignment2