Added find function; basic functionality