basic functions of API work now