inspect method