mtd doesn't seem to be within scope of that code.