public void makeOffer (String remoteUser, String service, Integer price) {
		// modificam statusul lui remoteuser pt service in services
		int index = -1;
		int row = -1;
		for (int i = 0; i < services.size(); i++) {
			if (services.get(i).getService().equals(service)) {
				index = i;
			}
		}
		
		for (int i = 0; i < auctionTable.getRowCount(); i++) {
			if (model.getValueAt(i, 0).equals(service)) {
				row = i;
				break;
			}
		}
		
		if (row != -1 && index != -1){
			Integer currentPrice = services.get(index).getPrice(remoteUser);
			System.out.println("make offer: currentPrice = " + currentPrice + " newPrice = " + price);
			if (currentPrice.equals(new Integer(0))) {
				services.get(index).changePrice(remoteUser, price);
				System.out.println("current price is 0");
			}
			else {
				if (currentPrice.compareTo(price) == 1) {
					services.get(index).changePrice(remoteUser, price);
					System.out.println("current price is less than price");
				}
			}
			services.get(index).changeStatus(remoteUser, new String("Offer made"));
			model.setValueAt(services.get(index).getStatus(remoteUser), row, 1);
			model.setValueAt(services.get(index).getPrice(remoteUser).toString(), row, 3);
			this.auctionTable.setModel(model);
		}
		
	}