updated to match current struct tt
reworked tt stuff
date and time created 83/08/22 15:19:40 by edward