added beamer macros