Added new functions for iterator