Much appreciated, I was using the wrong variable.