Recreated pivot table and tidied up roots