changed submenu method