allowedType as static