functional readMode