implement timer method
Merge pull request #1 from guillaumegaluz/new_feature

implement timer method