done with stata roundtrip, now needs to be parametrized