trying to fix scoping issue