edited second exam - add win condition