handle_win, handle_loss -> main scope