enum EditDirection { append, remove }