Added more documentation to the code and made a few changes.
Use the terminology 'duration'. Do not specifiy a default duration of 60s.
Use the terminology 'duration'.