began implementing SD write functionality into Data.cpp