application flow working