folder grouping debugging code added