added getIterator for session