Added search features function