Polishing getFriend function.  Wrapping up for night.