needed to actually write the new pointer