Code Optimization: Removing un-needed method call to toLowerCase()