Also created pivot table