initial changes for hierarchical topology locking
hierarchical locking contd.