Update for clarity

Added comments/explanations to understand what I did.