started with implementation of iterative parser