Added documentation for duration