added states and winning