fix scoping ... initial work