centered demoD; cleaned