Updated Outline code