checkcode and cluster