finished the application