silly bug - wrong variable name