working on app init