adding a bit of translation code