protected function buildBulkInsert($data, $set_timestamps)
	{
		//define a fields container array
		$fields = array(); 

		//define a values container array
		$values = array();

		//define a template format for query
		$template = "INSERT INTO %s (%s) VALUES %s";

		//get the fields array
		$fieldsArray = $data[0];

		//get the fields
		foreach ($fieldsArray as $field => $value) 
		{
			//populate the fields array
			$fields[] = $field;

		}
		//get the count of number of rows
		$count = sizeof($data);

		//loop through the input data composing input data
		for ( $i = 0; $i < $count; $i++ ) 
		{ 
			//remove the first array and return
			$array = $data[$i];

			//define array to contain the string components
			$valuesArray = array();

			//loop through the array composing the values
			foreach ($array as $field => $value) 
			{
				//populate the values array
				$valuesArray[] = $this->quote($value);

			}

			//convert strings array to string
			$values[] = '(' . join(", ", $valuesArray) . ')';

		}

		//convert strings array to string
		$fields = join(", ", $fields);

		//convert values array to string
		$values = join(", ", $values);

		//return the formated query string
		return sprintf($template, $this->froms, $fields, $values);

	}