Changed toLower from converting $1 to $@