Remove pointless function and add a delay.