query2

able to transfer data to result, enable to return proper result