adding calculateFromTCX