MOD: implemented friend mining/unfinished.