still having problems with edit