reduce command boilerplate