#2 : local variables should be local to their function