fork from http://0xcc.net/migemo/