SELECT THE FUNCTION FROM MENU