adds a very rough example for the dev-facing api