making dictionary searchable