implement the basic view; implement basic search function