added comments to functions.php