checked my own algebra and found one typo