first attempt at SD card writes