align to api