change pointer manipulation