adding Ryan James to the ack. for help with TE code