Corrected typo and addition error