wire up the app