Improve formatting and add explaination.