public void remove(String name, int quantity) {
		if(name.equals(Defines.CURRENCY_NAME)){
			rangs -= quantity;
		} else {
			for(int i=0; i<items.size() && quantity>0; i++){
				if(name.equals(items.get(i).getName())){
					items.remove(i);
					quantity--;
				}
			}
			if(quantity>0){
				System.out.println("Payment failed for " + name);
			}
		}
	}