ptr and type instance fields