improvements to scope spec