building out standard api