FB Friends: refactoring