removed 'delayCompletionEvent' var