Changed the Pointer class