Fixes Herman's contribution to the code.