Replace pause() with existing delay() function