added main func to translation