added support for action grammar