Compounds of the following formula are disclosed: Compounds of Formula I are the topic of this invention: ##STR1## Wherein G, J and the two atoms of the thiophene ring to which they are attached form a six-membered ring chosen from ##STR2## The compounds are useful as carbonic anhydrase inhibitors.