win and lose now added to gui