added states using scaffold