Modified to pass the argument by constant reference (#242)