setImmediate in example