simple way to make queries in DB