Added the type casting