debugged ending duration by switching order of two lines
Merge branch 'master' into debug_duration
Merge pull request #63 from LightningLord/debug_duration

Debug duration