adding functionality for friends