(*)add global the_app pointers