delay now working, typo corrected