Started working on searching functions