added name back to trans, couple fixes to logic and data flow in trans