Implemented basic edit mode