Started working on the peer parsing function