trd calc now works