changed how nand_select works