added example code to exchange a pointer betweem main and fakebot