new env for each query
migration