Added duplicate check on the add method, but not doing anything with it yet