added scaling to the delay system