adding SMT2 stuff but IO doesn't work