removed "tolower" function