Removed the throw statement and hasContact() method again.