Repaired POINTER crash by using byref (pointer also works, just not POINTER)