Replace the thiophene ring with a pyrrole ring, maintaining the heteroatom at the same position.