Removed old variables and look back feature due to previous range conflict