mess trying to simplify tcompcauchy