Corrected variable wrongly named