tweaking menu class, adding support to search