used wrong variable.