add type cast