check codes