scoping problems