Added edit mode to avoid accidental modifications.