add the menuCommand class method