almost done refactoring ptr gfx