a timer decorator