added some rule actions ... need to define AST functions