use an inner variable and modulo to store the scenarios only once
use an inner variable and modulo to store the scenarios only once