timer and set delay works