I would like to know all your delays and all your frequency, you could also build 2 lookup, one for the delays, one for the frequency.