added Menu equal method. added define menu functionality