for the app class