make queries adjustible
make query adjustible