tolowercase the isDupe method