switch check + refineness