A working version with the latest cherrytree