ex1 needs iterator, ex2 is done, still need getPage() in ex3