add menu mechanism.