basic record writing, sequence next