added grammar actions - very incomplete