changed someof the qeuries