modified cast type