added simple macros for forms