Win and Lose states implemented