add inspect method