win and loose stub implemented