ENDMENU AND TIMER