Found error with pointers, trying to fix.