resub for assignment2