added hierarchical grouping to grid