builds searchable by id