It then does digging and other nest work , and later , defends the nest and forages .
It then graduates to digging and other nest work , and later to defending the nest and foraging .