support for process keyword; better nesting in parser