removing local code