attempting to implement editing, not working