removed isSupported function