missed a %d
use same length variable names
comment out plotting
factor the delay into the RT