flow of service