align with api