started working on not allowing duplicates