use typedef for iterator types.