changing the camelCase to lowerCamelCase and fixing some small errors