type to stype