using string.lowercase instead of an array