minimize templated run funtions