This line results in a NameError exception as the variable ```value``` doesn't exists at this scope