adding the remove dups method to higharray