first draft on endpoints