private void install(String[] commandString, Player player) throws CommandException {
        if (commandString.length > 1) {
            String componentName = "";
            for (int i = 1; i < commandString.length; i++) {
                componentName += " " + commandString[i];
            }
            componentName = componentName.trim();
            if (!componentName.equals("")) {
                Station station = player.getCurrentStar().getStation();
                int validationCode = TransactionManager
                        .validateInstallFromStationTransaction(player, station, componentName);
                switch (validationCode) {
                case 0:
                    TransactionManager.performInstallFromStationTransaction(player, station, componentName);
                    break;
                case 1:
                    throw new CommandException("<" + player.getName() + "> has insufficient materials");
                case 2:
                    throw new CommandException("<" + player.getName() + "> has insufficient funds");
                case 3:
                    throw new CommandException("<" + station.getName() + "> does not have component <" + componentName + ">");
                case 4:
                    throw new CommandException("<" + station.getName() + "> has insufficient cargo space");
                }
                displayDockStore(player);
            }
        } else {
            throw new CommandException("Not enough input");
        }
    }