remove unnecessary scoping