added isRecordExists link