542 assignment 3