mode has default value