wrote driver stuff to test composite and iterator