modified menu class