started to implement tree of resource section