same thing about using translations rather than if statements