add query functions for "what is installed?"