client submit now passes type so you can use background processes