added binding for setImmediate