increasing the use of local variable