api working now