adjustments to API