Removed old element code