search func
typo