Added ability to have multiple nests