Removed logging
Fixed signature of populateFriend method.