remove duplicate inspect method