integrate casting