more app-like startup code