Removed old input code