extracted method for parsing and changed peerid to new info