collect friends (final correct version - -|)