timer needs work (todo); added an example