Finalizing the actions