removed support for old apis