inspect() method