flexible search and views