added editing capability