implemented previous win method
implemented previous win method