added checkcode