Extract local variable