initial api scratch