added ote casting