private void doCommand(int index)
    {
        switch(index){
            case 0:
                out.println("Exit...");    
                break;
            case 1:
                int count = 5;
                createStorage(count);
                break;
            case 2:
                String name = "Golden thingy 55";
                find(name);
                break;
            case 3:
                int price = 500;
                combineByPrice(price);
                break;
            case 4:
                showAll();
                break;
            default:
                noCmd();
                break;
        }
    }