Changed casting types