added method translateMap