updated registerInspected method