changing to type