finalized api