Added condition to timing function
0.4.5
Merge pull request #29 from AHPWN/dev

v0.4.5