Document some code

Yay for clean documented code