Setting up and managing the position hierarchy