replaced the peerclient with mypeer client