still getting error where it has a duplicate letter