Added more explanation per code review.