added some app introspection functions