display chances codes correctly