update win condition to use new metric