added options to read record