Adeed new superclass
added TBlock
updated for new superclass