Why change the return type to void? This might trigger a warning in some compilers.