removed old objects from cpp