cid should be random