added search for visitation record