README: add small example for top-level functions