Using a higher scoped variable to store values that could be passed as parameter is not good idea, since it can be changed elsewhere causing inconsistencies.