changed TYPE to Type