modified run to a more generalized procedure