use _type instead of type