edit for clarity reading code