added register translation