extracted base command