added code for removing inverse friends