simplify exec method