Start of rewrite of tdelays