added search of entities