Added some comments to functions.php