public static synchronized Phone getInstance(String phoneType) {

		int index = -1;

		if (phones == null) {
			phones = new ArrayList<>();
			Phone phone = new Phone(phoneType);
			phones.add(phone);
			index = 0;
		} else {
			int counter = 0;
			for (Phone phone : phones) {
				if (phone.getPhoneType().equals(phoneType)) {
					index = counter;
					break;
				}
				counter++;
			}
			if (index == -1) {
				Phone phone = new Phone(phoneType);
				phones.add(phone);
				index = counter;
			}
		}

		return phones.get(index);
	}