revised editing survey logic