set duration to -1 for first session