How do you know when a caterpillar is making a cocoon