update, now actually working, without win status check