initial implementation of unique indexes