used wrong variable name