Comments added

I tested all the functions, they still work!