adding problems for pointers