macro can be triggered by the menu