example and API docs