finishing api wrapper