changed pointer coding style