Added setImmediate