adds details to matching phone number check function