`app` be undefined, here?