that would require passing schema information down to this point, but that may not be a bad idea