null init added for app and view