Adding cyclic check