improved menuclass