added :local code attribute so local code doesn't have to be in a local slide