added function editor