you may want to wrap it up in a class or put the timer vars in a record that you can pass to the functions to allow multiple timers.