Add draft of function editor