finished all query round-trip but crash very badly...need to be tested