queries not working yet