added all types possible to ptrOfType and dereference functions