use arguments when creating a timer