Make convert lower case method more clear, minor refactoring, improve documentation