improved edit