This figure illustrates the gateway process flow