changed method to always return lowercase strings