pull in onDelay for Issue #1