scsi implement with cpp