added a flexible text input for editing leaves
test