api works now