@Override
	public boolean createCustomer(Customer customer) {
		if (doc == null)
			return false;
		Element currRoot = doc.getRootElement();
		Element parrentCusto = currRoot.getChild("customers");
		Element newCusto = new Element("customer");
		int id = 0;
		for (Customer item : getCustomers()) {
			if (item.getCustomerID() > id)
				id = item.getCustomerID();
		}
		id++;
		newCusto.addContent(new Element("customerID").setText(id + ""));
		newCusto.addContent(new Element("name").setText(customer.getName()));
		newCusto.addContent(new Element("surename").setText(customer
				.getSurname()));
		newCusto.addContent(new Element("address").setText(customer
				.getAddress()));

		parrentCusto.addContent(newCusto);

		return this.saveToFile();
	}