working on add new app logic