ui logic to show correctness