switching to an enum for vcard detection function