typo correction - referenced before assignment