added menu delegate