debuging set duration