sample query menu class created