change delay logic