annotate menu and callback