added app state