avoid adding and subtracting transData if not needed