added menu callbacks