update run() to run one case if only start index passed in