adding thunkify, fixing typo