added dem queries