refine applicationp