add: testing codes for connect peers