added get friends code