Added functionality for the record validation
Added functionality for the record validation