added docs for duration