If you check there is already a variable called data and the local variable called data is shadowing that. I found that a whole lot more confusing that removing the a of the inner data.