adding duration formatter