api sorta working