Added some comments so I can read this later.