recordString function