added friends as param to map initialization