added states model & scaffold