changed pointer parameter.