Added comments

Added comments to make everything a bit clearer. And, mainly, to remind
me what I did when I use this again.