modify the interface of friend module