added table printing to command group