cide refact