update name of pointers to prefix them with 'p' to emphasize the fact that they are pointers