added in delay time