added correct time delays