startmenu and endmenu