another typo.  variable in wrong place