clean up public API