Removed junk for TGF. too much work.