Bugfix: decided not to depend on underscore/lodash
marking 'private' function with leading underscore