work on SD in Data.cpp