sd write function working