added set duration