added menu hook