migemo refactor