added 'app' object