added allow Duplicates to proptypes
check for values