Updated Caterpillar Class