sweet type casting