Public API and proper output format