shouldn't this be 'nullptr' since mPItems is now a pointer?