 			arguments.properties = arguments.property;
 			StructDelete(arguments, "property");
 		}
+
+		// when using the core validations the developer needs to pass in specific properties, throw an error if they haven't
 		if (application.wheels.showErrorInformation)
 		{
 			if (StructKeyExists(arguments, "properties"))
 			{
-				// when using the core validations the developer needs to pass in specific properties
 				if (!Len(arguments.properties))
 					$throw(type="Wheels", message="Incorrect Arguments", extendedInfo="Please pass in the names of the properties you want to validate. Use either the `property` argument (for a single property) or the `properties` argument (for a list of properties) to do this.");
 			}
 		}
+
+		// loop through all methods and properties and add info for each to the `class` struct
 		loc.iEnd = ListLen(arguments.methods);
 		for (loc.i=1; loc.i <= loc.iEnd; loc.i++)
 		{
-			loc.jEnd = 1; // only loop once by default (will be used on the lower level validation helpers that do not take arguments: validate, validateOnCreate and validateOnUpdate)
+			// only loop once by default (will be used on the lower level validation helpers that do not take arguments: `validate`, `validateOnCreate` and `validateOnUpdate`)
+			loc.jEnd = 1; 
 			if (StructKeyExists(arguments, "properties"))
 				loc.jEnd = ListLen(arguments.properties);
+
 			for (loc.j=1; loc.j <= loc.jEnd; loc.j++)
 			{
 				loc.validation = {};

	<cfargument name="type" type="string" required="true">
	<cfscript>
		var loc = {};
		loc.iEnd = ArrayLen(variables.wheels.class.validations[arguments.type]);
		for (loc.i=1; loc.i <= loc.iEnd; loc.i++)
		{

<cffunction name="validatesUniquenessOf" returntype="void" access="public" output="false" hint="Validates that the value of the specified property is unique in the database table. Useful for ensuring that two users can't sign up to a website with identical screen names for example. When a new record is created a check is made to make sure that no record already exists in the database with the given value for the specified property. When the record is updated the same check is made but disregarding the record itself."
	examples=
	'
		<!--- Make sure that two users with the same screen name won''t ever exist in the database (although to be 100% safe you should consider using database locking as well) --->
		<cfset validatesUniquenessOf(property="username", message="Sorry, that username is already taken.")>

		<!--- Same as above but allow identical user names as long as they belong to a different account --->
		<cfset validatesUniquenessOf(property="username", scope="accountId")>
	'
	categories="model-initialization,validation" chapters="object-validation" functions="validatesConfirmationOf,validatesExclusionOf,validatesFormatOf,validatesInclusionOf,validatesLengthOf,validatesNumericalityOf,validatesPresenceOf">
	<cfargument name="properties" type="string" required="false" default="" hint="See documentation for @validatesConfirmationOf.">
