removed old code which was needed while working without dmp