implemented search for data by related items