added 'usesAlpha' method