add typecast example