added refactored cide