fixed some typos and clarified the example endpoint creation