func editor work