Added inspection code