network query working