intial cut of the api