and pushed inside the validateRecordLength function?