added search person function