PROF: simplify API