added duration to make ifds to be passed to distributor server