changing pointer declarations