Add some comments for when I forget what the functions are supposed to do....