use inspect instead of dump