fixes typo and improves code.
implments lowercamelcase