reordered the type-provider