added a menu class