grammar and states updated for while node… Work in progress.