local copy of pure