removed experimental parser
added a function for checking the iterator state