Compare words improvements