fixed up spelling mistakes and syntax