starting to work on win logic