Changed cast style