define cast overrides