Fixed formatting, added explanations.