updated duplicate? method