rename routine to process
remove MID