with write to SD card stub