added editing capabilities