reorganized translate to be more usable