working on checking for wins