menu class and button stuff