Adding local code