#38 move processDelayed to delay