adding toLowerCase to sql