using pluck instead of map