Started on iterator with some functions.