Get duration when it is possible
Merge pull request #7 from gazay/master

Get duration when it is possible