tested and added menu class