finalizing the app