updated with friendship interface