simplify sd.h