Minchan's codes