prevented local variable to leak to global namespace