func editor starting to work
continued work on function editing