inspect command revised