added basic search functions, more notes on future data processing functions