Furture clean up provideApplicationResult method