diff --git a/lib/cliff.js b/lib/cliff.js
index <HASH>..<HASH> 100644
--- a/lib/cliff.js
+++ b/lib/cliff.js
@@ -97,7 +97,7 @@ cliff.stringifyRows = function (rows, colors) {
     for (i = 0; i < row.length; i += 1) {
       item = cliff.stringifyLiteral(row[i]);
       item = colorize ? item[colors[i]] : item;
-      length = real_length(item);
+      length = realLength(item);
       padding = length < lengths[i] ? lengths[i] - length + 2 : 2;
       rowtext += item + new Array(padding).join(' ');
     }
@@ -242,14 +242,14 @@ cliff.typeOf = function typeOf (value) {
   return s;
 }
 
-var real_length = function (str) {
+var realLength = function (str) {
   return ("" + str).replace(/\u001b\[\d+m/g,'').length;
 }
 
 var longestElement = function (a) {
   var l = 0;
     for (var i = 0; i < a.length; i++) {
-      var new_l = real_length(a[i]);
+      var new_l = realLength(a[i]);
       if (l < new_l) {
         l = new_l;
       }
[minor] fixed some style issues