variable number of runs