add explanation to ex-3.40, add 2 more possible results