refine the application.