rename trap input/outpup data structures to common shared names acc/ret