found a couple typos in my code