adjusted api