since these params have been reordered, will this still work with older code using this newer lib? I'm guessing since this is a static function, then it can be called by the consumer of the lib. Perhaps we should move the new param to the end?