app => theApp, and logging