Trying to get the editing function to work.