advance returns iterator.