Using flatmap instead of reduce to get list of players