Made method that will search for peer