First version of scope in/out