added documentaiton for the duration