new, even simpler translation code; all by myself