Indeed, i guess i completely overlooked the behavior of local variables.