eliminate use of private API