Removed old ground code