add editor to scope as well