Add a record generator