should have TL read and error checking done.  Compiles on CAEN