Added implementation that passes to process.send