Finalized function of the quickstart