another useful translation function