renamed objectMap to environmentTree
w