Whoops, it helps to declare the variables.