Added exception for when a key already exists when adding