added repltran writing records for notes