Added some well needed code-commenting