now search methods works