Working timer and added examples to docs