Extract method to show flow