removed support function