Added temporal analysis for friends and not friends.