adding modified timer with cmp