work on example and api