moved back to local variable