making searchable methods defensive