working on app model