Put in cast check