added delay time