check allow repeated with input values