Create select_mode.c