sstart to the CastGenerator class