wrote ToyScan2