removed old broken and expremely complicated CSE code