add run-and-capture