win and loose screen working