public void validate_insert(String dataBaseName, String tableName,
			ArrayList<Field> entries) {

		boolean flag = true;

		if (check_dataBase(dataBaseName)) {
			if (check_table(dataBaseName, tableName)) {
				for (Field element : entries) {

					if (!check_type(dataBaseName, tableName,
							element.getValue(), element.getName())) {
						flag = false;
						break;

					}
				}

				if (flag) {
					DBMS ob = new DBMSImplementer();
					ob.insert(dataBaseName, tableName, entries);
				} else {
					System.out
							.println("data type does not math the table's data type");
				}
			} else

				System.out.println("table does not exist!");
		} else
			System.out.println("database does not exist!");
	}