minor changes to scope section. pi code example in actors