variable assignment typo