did the fetch_contact function

Did a little debug cleanup and some formating.  Non of this has been
tested yet.  This function needs to be tested thoroughly.