moving my weak debugging attempt ahead of the app.main