Change record to write, rubbed me the wrong way