cleaning up delay logic