added edit1 modification