add ptr operator