make macro for component to use dommy templating sugar