added comments
clear trans after processed