Accepting duplicate character in key