Making validation faster and more efficient