added simple translation mechanism.