Removed unused scoping