set runtime type