Made pass field as boolean field.

And changed variables to lowercases