implemented peer joins