Add a timer and a generator