Made a dynamic function 'dereference' in pointer_type