Removed foreign code