turned newScope into newFuncContext