arrange sdio code