search and filter implemented