add timer [Closes #27]