My notes code from TR and other stuff.