change to use built in unique validator