operate on a pointer