Added comments, plus a little coding.