Stopping that duplicate key issue.