Is there a better of way letting this block of code run if a contact was found?