revised material for assignment 1