assignment 9 with lame-o attempt at final item #9