added local variable