How to use the confusion flag