Improved clarity in demo card controller logic