diff --git a/src/wofRecordStream.js b/src/wofRecordStream.js
index <HASH>..<HASH> 100644
--- a/src/wofRecordStream.js
+++ b/src/wofRecordStream.js
@@ -1,5 +1,4 @@
 var event_stream = require('event-stream');
-var _ = require('lodash');
 
 module.exports = {};
 
@@ -7,13 +6,11 @@ module.exports.createWofRecordsStream = function(wofRecords) {
   var ids = Object.keys(wofRecords);
 
   return event_stream.readable(function (count, callback) {
-    var id = ids.shift();
-
-    if (_.isUndefined(id)) {
+    if (ids.length === 0) {
       return this.emit('end');
     }
 
-    this.emit('data', wofRecords[id]);
+    this.emit('data', wofRecords[ids.shift()]);
     callback();
 
   });
refactored to be less code