added sdmc support