finishing the application