first draft of define page and api