a bunch of work on the delay system